<table class="batch-detail">
    <tr>
        <th>Discount(Amt)</th>
        <th>Discount%</th>
        <th>Group Size</th>
    </tr>
    <?php foreach ($classGroupDiscount as $classGroupValue) { ?>
        <tr>
            <td><?php echo ($classGroupValue->discount_amount == '') ? 'NULL' : $classGroupValue->discount_amount; ?></td>
            <td><?php echo ($classGroupValue->discount_in_percentage == '') ? 'NULL' : $classGroupValue->discount_in_percentage; ?></td>
            <td><?php echo $classGroupValue->group_size; ?></td>
        </tr>
    <?php }
    ?>
</table>
